package com.example.mysaat.service_menu_manual_test.Listeners;

import android.app.Activity;
import android.view.View;

import com.example.mysaat.AllTestResult;
import com.example.mysaat.handle_utils.AssignValueForResult;

import java.util.List;

public class MyPassOnclickListener implements View.OnClickListener, AssignValueForResult {
    private Activity activity = null;
    private List list = null;

    public MyPassOnclickListener(Activity activity, List list) {
        this.activity = activity;
        this.list = list;
    }

    @Override
    public void onClick(View view) {
        // 需要将错误的信息进行记录

        execute(new AllTestResult());
        activity.finish();
    }
}
